package avicit.bdp.dds.api.service;

import avicit.bdp.common.base.BaseService;
import avicit.bdp.dds.dao.entity.MonitorDirectoryTask;
import avicit.bdp.dds.dao.mapper.MonitorDirectoryTaskMapper;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class MonitorDirectoryTaskService extends BaseService<MonitorDirectoryTaskMapper, MonitorDirectoryTask>  {

    /**
     * 查詢上次更新时间
     * @param processDefinitionId 流程定义ID
     * @return 上次更新时间
     */
    public Date selectLastUpdateTime(String processDefinitionId) {
        return this.mapper.selectLastUpdateTime(processDefinitionId);
    }
}
